package com.tadpole.music.bean.question;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/15
 */
public class QuestionRankBean {

    /**
     * code : 200
     * data : [{"id":2,"created_at":"2020-07-30 16:29:19","updated_at":"2020-07-30 16:29:19","name":"中级","desc":"等级设置","college_id":1,"sort":2},{"id":1,"created_at":"2020-07-30 16:29:11","updated_at":"2020-07-30 16:29:11","name":"初级","desc":"等级设置","college_id":1,"sort":1}]
     * msg : success
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * created_at : 2020-07-30 16:29:19
         * updated_at : 2020-07-30 16:29:19
         * name : 中级
         * desc : 等级设置
         * college_id : 1
         * sort : 2
         */

        private int id;
        private String created_at;
        private String updated_at;
        private String name;
        private String desc;
        private int college_id;
        private int sort;
        private boolean select;
        public DataBean(int id, String created_at, String updated_at, String name, String desc, int college_id, int sort) {
            this.id = id;
            this.created_at = created_at;
            this.updated_at = updated_at;
            this.name = name;
            this.desc = desc;
            this.college_id = college_id;
            this.sort = sort;
        }

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getCollege_id() {
            return college_id;
        }

        public void setCollege_id(int college_id) {
            this.college_id = college_id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }
    }
}
